package com;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 启动
 * @author mics
 * @date 2018年6月19日
 * @version 1.0
 */
@SpringBootApplication
@EnableTransactionManagement
@EnableFeignClients
@EnableCircuitBreaker
@EnableScheduling
public class Application {
	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
		System.err.println("---------------------启动成功！-------------------------------");
	}
}
